Optimal. Leaf size=100 \[ \frac {x}{5 a^2 c (a+b x)^{5/2} (a c-b c x)^{5/2}}+\frac {4 x}{15 a^4 c^2 (a+b x)^{3/2} (a c-b c x)^{3/2}}+\frac {8 x}{15 a^6 c^3 \sqrt {a+b x} \sqrt {a c-b c x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 100, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {40, 39}
\begin {gather*} \frac {8 x}{15 a^6 c^3 \sqrt {a+b x} \sqrt {a c-b c x}}+\frac {4 x}{15 a^4 c^2 (a+b x)^{3/2} (a c-b c x)^{3/2}}+\frac {x}{5 a^2 c (a+b x)^{5/2} (a c-b c x)^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 39
Rule 40
Rubi steps
\begin {align*} \int \frac {1}{(a+b x)^{7/2} (a c-b c x)^{7/2}} \, dx &=\frac {x}{5 a^2 c (a+b x)^{5/2} (a c-b c x)^{5/2}}+\frac {4 \int \frac {1}{(a+b x)^{5/2} (a c-b c x)^{5/2}} \, dx}{5 a^2 c}\\ &=\frac {x}{5 a^2 c (a+b x)^{5/2} (a c-b c x)^{5/2}}+\frac {4 x}{15 a^4 c^2 (a+b x)^{3/2} (a c-b c x)^{3/2}}+\frac {8 \int \frac {1}{(a+b x)^{3/2} (a c-b c x)^{3/2}} \, dx}{15 a^4 c^2}\\ &=\frac {x}{5 a^2 c (a+b x)^{5/2} (a c-b c x)^{5/2}}+\frac {4 x}{15 a^4 c^2 (a+b x)^{3/2} (a c-b c x)^{3/2}}+\frac {8 x}{15 a^6 c^3 \sqrt {a+b x} \sqrt {a c-b c x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 57, normalized size = 0.57 \begin {gather*} \frac {15 a^4 x-20 a^2 b^2 x^3+8 b^4 x^5}{15 a^6 c (c (a-b x))^{5/2} (a+b x)^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [C] Result contains higher order function than in optimal. Order 9 vs. order 2 in
optimal.
time = 41.02, size = 79, normalized size = 0.79 \begin {gather*} \frac {2 \left (-I \text {meijerg}\left [\left \{\left \{\frac {7}{4},\frac {9}{4},1\right \},\left \{\frac {1}{2},\frac {7}{2},4\right \}\right \},\left \{\left \{\frac {7}{4},\frac {9}{4},3,\frac {7}{2},4\right \},\left \{0\right \}\right \},\frac {a^2}{b^2 x^2}\right ]+\text {meijerg}\left [\left \{\left \{-\frac {1}{2},0,\frac {1}{2},\frac {5}{4},\frac {7}{4},1\right \},\left \{\right \}\right \},\left \{\left \{\frac {5}{4},\frac {7}{4}\right \},\left \{-\frac {1}{2},0,3,0\right \}\right \},\frac {a^2 \text {exp\_polar}\left [-2 I \text {Pi}\right ]}{b^2 x^2}\right ]\right )}{15 \text {Pi}^{\frac {3}{2}} a^6 b c^{\frac {7}{2}}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(201\) vs.
\(2(82)=164\).
time = 0.17, size = 202, normalized size = 2.02
method | result | size |
gosper | \(\frac {\left (-b x +a \right ) x \left (8 b^{4} x^{4}-20 a^{2} b^{2} x^{2}+15 a^{4}\right )}{15 \left (b x +a \right )^{\frac {5}{2}} a^{6} \left (-b c x +a c \right )^{\frac {7}{2}}}\) | \(56\) |
default | \(-\frac {1}{5 a b c \left (b x +a \right )^{\frac {5}{2}} \left (-b c x +a c \right )^{\frac {5}{2}}}+\frac {-\frac {1}{3 a b c \left (b x +a \right )^{\frac {3}{2}} \left (-b c x +a c \right )^{\frac {5}{2}}}+\frac {-\frac {4}{3 a b c \sqrt {b x +a}\, \left (-b c x +a c \right )^{\frac {5}{2}}}+\frac {4 \left (\frac {3 \sqrt {b x +a}}{5 a b c \left (-b c x +a c \right )^{\frac {5}{2}}}+\frac {3 \left (\frac {2 \sqrt {b x +a}}{15 a b c \left (-b c x +a c \right )^{\frac {3}{2}}}+\frac {2 \sqrt {b x +a}}{15 b \,a^{2} c^{2} \sqrt {-b c x +a c}}\right )}{a c}\right )}{3 a}}{a}}{a}\) | \(202\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 79, normalized size = 0.79 \begin {gather*} \frac {x}{5 \, {\left (-b^{2} c x^{2} + a^{2} c\right )}^{\frac {5}{2}} a^{2} c} + \frac {4 \, x}{15 \, {\left (-b^{2} c x^{2} + a^{2} c\right )}^{\frac {3}{2}} a^{4} c^{2}} + \frac {8 \, x}{15 \, \sqrt {-b^{2} c x^{2} + a^{2} c} a^{6} c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.31, size = 98, normalized size = 0.98 \begin {gather*} -\frac {{\left (8 \, b^{4} x^{5} - 20 \, a^{2} b^{2} x^{3} + 15 \, a^{4} x\right )} \sqrt {-b c x + a c} \sqrt {b x + a}}{15 \, {\left (a^{6} b^{6} c^{4} x^{6} - 3 \, a^{8} b^{4} c^{4} x^{4} + 3 \, a^{10} b^{2} c^{4} x^{2} - a^{12} c^{4}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 48.59, size = 97, normalized size = 0.97 \begin {gather*} - \frac {2 i {G_{6, 6}^{5, 3}\left (\begin {matrix} \frac {7}{4}, \frac {9}{4}, 1 & \frac {1}{2}, \frac {7}{2}, 4 \\\frac {7}{4}, \frac {9}{4}, 3, \frac {7}{2}, 4 & 0 \end {matrix} \middle | {\frac {a^{2}}{b^{2} x^{2}}} \right )}}{15 \pi ^{\frac {3}{2}} a^{6} b c^{\frac {7}{2}}} + \frac {2 {G_{6, 6}^{2, 6}\left (\begin {matrix} - \frac {1}{2}, 0, \frac {1}{2}, \frac {5}{4}, \frac {7}{4}, 1 & \\\frac {5}{4}, \frac {7}{4} & - \frac {1}{2}, 0, 3, 0 \end {matrix} \middle | {\frac {a^{2} e^{- 2 i \pi }}{b^{2} x^{2}}} \right )}}{15 \pi ^{\frac {3}{2}} a^{6} b c^{\frac {7}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 296 vs.
\(2 (82) = 164\).
time = 0.07, size = 389, normalized size = 3.89 \begin {gather*} \frac {2 \left (\frac {2 \left (\left (\frac {983040 c^{2} a^{9} \sqrt {a+b x} \sqrt {a+b x}}{14745600 c^{3} a^{15}}-\frac {4224000 c^{2} a^{10}}{14745600 c^{3} a^{15}}\right ) \sqrt {a+b x} \sqrt {a+b x}+\frac {4608000 c^{2} a^{11}}{14745600 c^{3} a^{15}}\right ) \sqrt {a+b x} \sqrt {2 a c-c \left (a+b x\right )}}{\left (2 a c-c \left (a+b x\right )\right )^{3}}+\frac {2 \left (45 \left (\sqrt {2 a c-c \left (a+b x\right )}-\sqrt {-c} \sqrt {a+b x}\right )^{8}-450 c \left (\sqrt {2 a c-c \left (a+b x\right )}-\sqrt {-c} \sqrt {a+b x}\right )^{6} a+1660 c^{2} \left (\sqrt {2 a c-c \left (a+b x\right )}-\sqrt {-c} \sqrt {a+b x}\right )^{4} a^{2}-2200 c^{3} \left (\sqrt {2 a c-c \left (a+b x\right )}-\sqrt {-c} \sqrt {a+b x}\right )^{2} a^{3}+1024 c^{4} a^{4}\right )}{240 c^{2} \sqrt {-c} a^{5} \left (-\left (\sqrt {2 a c-c \left (a+b x\right )}-\sqrt {-c} \sqrt {a+b x}\right )^{2}+2 c a\right )^{5}}\right )}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.65, size = 111, normalized size = 1.11 \begin {gather*} \frac {15\,a^4\,x\,\sqrt {a\,c-b\,c\,x}+8\,b^4\,x^5\,\sqrt {a\,c-b\,c\,x}-20\,a^2\,b^2\,x^3\,\sqrt {a\,c-b\,c\,x}}{{\left (a\,c-b\,c\,x\right )}^3\,\left (60\,a^8\,c-\left (a\,c-b\,c\,x\right )\,\left (45\,a^7+15\,b\,x\,a^6\right )\right )\,\sqrt {a+b\,x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________